<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.ccut.edu.cn/saturn" prefix="saturn"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>templete jsp</title><%@ include
	file="/jsp/include/header/meta.jsp"%><%@ include
	file="/jsp/include/header/javascript.jsp"%><%@ include
	file="/jsp/include/header/stylesheettag.jsp"%></head>
<body>

<saturn:formBeans name="queryValidateForm" title="查询验证"
		action="${pageContext.request.contextPath}/edu.ccut.saturn.manager.bundles.impl::/componentModule/action/QueryValidateForList.action"
		method="post">		
		<saturn:formBean label="关键字" name="key" type="text"
			id="key" value=""/>
			<input type="hidden" name="fullKey" value = "${fullKey}">
			<input type="hidden" name="nodeId"  value = "${nodeId}">
			<input type="hidden" name="paramId"  value = "${paramId}">
		<saturn:formActions>
			<saturn:formAction id="query" name="query" value="查询" />
		</saturn:formActions>
</saturn:formBeans>

<saturn:table id="validateInfos" value="${validateInfos}" item="var" isCursor="true"
			isPagepilot="true" pagepilotType="js" percount="3"  >
			
			<saturn:tableColumn title="名称">
					   <saturn:out value="${var.name}"/>
			</saturn:tableColumn>
			<saturn:tableColumn title="描述">
						<saturn:out value="${var.description}"/>
			</saturn:tableColumn>
			<saturn:tableColumn title="操作">
						<a href="javascript:getValidates('${fullKey}','${nodeId}','${paramId}','${var.validateInfoFullkey}')">添加</a>
			</saturn:tableColumn>
	
		</saturn:table>

<script type="text/javascript">
    function getValidates(fullKey,nodeId,paramId,validateInfoFullkey) {
        location = "<%=request.getContextPath()%>/edu.ccut.saturn.manager.bundles.impl::/componentModule/action/GetValidateDetailAction.action?nodeId="+nodeId+"&fullKey="+fullKey+"&paramId="+paramId+"&validateInfoFullkey="+validateInfoFullkey;
    }
</script>
</body>
</html>